﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace bmapi.Controllers
{
    public class CADCutController : CADApplyController
    {
        [HttpPost,Route("Apply")]
        public string Apply(string id)
        {
            //id实际是token
            int uid = GetCrrentIDByToken();

            if (0 == uid)
                return ReturnError(201, "不合法的用户");

            return ReturnOK(uid, 47, "裁床，用户:" + uid.ToString());
        }

        
    }
}
